#ifndef DATE_H
#define DATE_H

#include <string>
using namespace std;

class Date
{
	int day;
	int month;
	int year;

public:
	Date(int dd = 0, int mm = 0, int yyyy = 0);
	~Date();

	string to_string();
	int get_day()const;
	int get_month()const;
	int get_year()const;

	void set_day(int dd);
	void set_month(int mm);
	void set_year(int yyyy);
	
};

bool isCommon(int yyyy);
Date operator + (const Date &d, const int weeks);
Date operator - (const Date &d, const int weeks);
bool operator < (const Date &d1, const Date &d2);
bool operator > (const Date &d1, const Date &d2);
bool operator <= (const Date &d1, const Date &d2);
bool operator >= (const Date &d1, const Date &d2);

#endif